from Utils.router import router
from Utils.zj import timeklpk


@router.get('/zj/kldata', tags=['镇江-中间数据'], summary='顶部客流车场数据')  # 时段客流车流数据
async def get_kldatas():
    kldata = timeklpk.get_kldata()
    # pklist = timeklpk.get_park()
    return {'insum': kldata[0], 'zlsum': kldata[1], 'carin': 2340, 'carout': 1000,
            'parknull': 100}
